import React, { lazy } from 'react'
import { createBrowserRouter } from 'react-router-dom'
const Home=lazy(()=>import('../Page/Home'))
const City=lazy(()=>import('../Page/City'))

export const router=createBrowserRouter([
    {path:'/',element:<Home/>},
    {path:'/city/:type',element:<City/>}
])